package com.gin.pojo.graph;

/**
 * 边描述
 *
 * 无向图可以直接理解为双向的有向图
 *
 */
public class GrEdge {
	//权重, 持股比例
	public double conprop;
	//股东类型
	public String invtype;
	//类型英文枚举(股东类型-英文缩写:PS-个人;RE-工商注册企业;NRE-非工商注册企业)
	public String invtype_en;
	//来自哪个点
	public GrNode src;
	//到达哪个点
	public GrNode dst;

	public GrEdge(double conprop, String invtype, String invtype_en, GrNode src, GrNode dst) {
		this.conprop = conprop;
		this.invtype = invtype;
		this.invtype_en = invtype_en;
		this.src = src;
		this.dst = dst;
	}

}
